package com.lkx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lkx.dto.DishDto;
import com.lkx.mapper.DishDtoMapper;
import com.lkx.pojo.Dish;
import com.lkx.service.DishDtoService;
import com.lkx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: com.lkx.service.impl.DishDtoServiceImpl
 * @author: likaixin
 * @create: 2022年12月05日 22:09
 * @desc:
 */

@Service
public class DishDtoServiceImpl implements DishDtoService {

    @Autowired
    private DishDtoMapper mapper;
    @Override
    public List<DishDto> copies(Long id) {
       return mapper.copies(id);
    }
}
